package com.js.nickcar.entity.remote;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by LZY on 2017/10/9.
 */

public class UploadImageBean implements Parcelable {

    private String md5;
    private String url;

    public String getMd5() {
        return md5;
    }

    public void setMd5(String md5) {
        this.md5 = md5;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    @Override
    public String toString() {
        return "UploadImageBean{" +
                "md5='" + md5 + '\'' +
                ", url='" + url + '\'' +
                '}';
    }


    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.md5);
        dest.writeString(this.url);
    }

    public UploadImageBean() {
    }

    protected UploadImageBean(Parcel in) {
        this.md5 = in.readString();
        this.url = in.readString();
    }

    public static final Parcelable.Creator<UploadImageBean> CREATOR = new Parcelable.Creator<UploadImageBean>() {
        @Override
        public UploadImageBean createFromParcel(Parcel source) {
            return new UploadImageBean(source);
        }

        @Override
        public UploadImageBean[] newArray(int size) {
            return new UploadImageBean[size];
        }
    };
}
